import { createPinia } from 'pinia'
import { createApp } from 'vue'
import { createI18n } from 'vue-i18n'
import App from './App.vue'
import { i18nOptions } from './i18n'
import router from './router'

import '@/styles/tailwind.css'
import 'katex/dist/katex.min.css'
import 'vue-sonner/style.css'

const app = createApp(App)
const pinia = createPinia()
const i18n = createI18n(i18nOptions)

app.use(router).use(pinia).use(i18n)

app.mount('#app')
